import java.time.DayOfWeek;
import java.time.LocalDate;

public class TestDate {
	public static void main(String[] args) {
		LocalDate newDate = LocalDate.now();
		
		DayOfWeek week = newDate.getDayOfWeek();
		int year = newDate.getYear();
		int mounth = newDate.getMonthValue();
		int day = newDate.getDayOfMonth();
		
		System.out.println(newDate);
		System.out.printf("%s/%s/%s\n",year,mounth,day);
		System.out.println("Tody is "+week);
		
		LocalDate aThousandDayLater = newDate.plusDays(1000);
		System.out.print("1000天之后 "+aThousandDayLater);
		
	}
}
